home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / windows / r3seltol.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.3 KB  |  54 lines

  1.  
  2. // JavaScript wrapper for r3seltol.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_SELECTTOOL_H = 1;
  7. include("real/windows/r3tool.js")
  8.  
  9.  
  10. var R3CLID_SELECTTOOL = 355;
  11.  
  12.  
  13.  
  14.  
  15. // Description: For handling MAPCHANGES. Activates desired select method, such as drag box or lasso.
  16. // Virtual method
  17.  
  18. R3SELTOLM_SETSELECTMETHOD = 355000;
  19.  
  20. function mR3SELTOLM_SETSELECTMETHOD() {
  21.   DoA(this.r3obj, 355000, 0, R3TID_INTEGER, 0);
  22. }
  23.  
  24. // Description: Register new object specific gadget for the toolbar. This gadget is shown when the
  25. //      corresponding object is selected.
  26. // p1: Integer, class id of the primitive object
  27. // p2: Integer, class id of the gadget
  28. // p3: Tag[], tag list, for future expansion
  29.  
  30. R3SELTOLCM_REGISTERPRIMTOOL = 355001;
  31.  
  32. function mR3SELTOLCM_REGISTERPRIMTOOL(p1, p2, p3) {
  33.   Do3(this.r3obj, 355001, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_TAG, R3TNF_ARRAY);
  34. }
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41. function r3Selecttool () { 
  42.    this.base = r3God;
  43.    if(arguments.length) {
  44.       this.base(R3CLID_SELECTTOOL, arguments);
  45.    }
  46.    // Methods
  47.    this.SETSELECTMETHOD=mR3SELTOLM_SETSELECTMETHOD;
  48.    this.REGISTERPRIMTOOL=mR3SELTOLCM_REGISTERPRIMTOOL;
  49.  
  50.    // Attributes
  51. }
  52.  
  53. r3Selecttool.prototype=new r3Tool;
  54. // r3seltol.h_H